package com.zjy.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品筛选条件
 * Created by Administrator on 2019/5/16.
 */
public class GoodsParam {
    private String goodsId; //商品id
    private String userId;//用户id，用于查询用户商品收藏
    private String keyword;//关键字
    private Integer isSale;//是否上架 0：否 1：是
    private List<String> categoryIdList;//分类Id数组
    private List<String> brandIdList; //品牌Id数组
    private List<Integer> capacityList;//净含量整型数组
    private List<BigDecimal> alcoholList;//酒精含量
    private Double price1;//价格区间price1—price2
    private Double price2;
    private Integer dateSort;//时间排序 0：升序 1：降序
    private Integer priceSort; //价格排序 0：升序 1：降序
    private Integer saleSort; //销售量排序 0：升序 1：降序
    private Integer pageSize;//页面大小
    private Integer pageNum;//页码

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public List<String> getCategoryIdList() {
        return categoryIdList;
    }

    public void setCategoryIdList(List<String> categoryIdList) {
        this.categoryIdList = categoryIdList;
    }

    public List<Integer> getCapacityList() {
        return capacityList;
    }

    public void setCapacityList(List<Integer> capacityList) {
        this.capacityList = capacityList;
    }

    public List<BigDecimal> getAlcoholList() {
        return alcoholList;
    }

    public void setAlcoholList(List<BigDecimal> alcoholList) {
        this.alcoholList = alcoholList;
    }

    public Double getPrice1() {
        return price1;
    }

    public void setPrice1(Double price1) {
        this.price1 = price1;
    }

    public Double getPrice2() {
        return price2;
    }

    public void setPrice2(Double price2) {
        this.price2 = price2;
    }

    public Integer getDateSort() {
        return dateSort;
    }

    public void setDateSort(Integer dateSort) {
        this.dateSort = dateSort;
    }

    public Integer getPriceSort() {
        return priceSort;
    }

    public void setPriceSort(Integer priceSort) {
        this.priceSort = priceSort;
    }

    public Integer getSaleSort() {
        return saleSort;
    }

    public void setSaleSort(Integer saleSort) {
        this.saleSort = saleSort;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getIsSale() {
        return isSale;
    }

    public void setIsSale(Integer isSale) {
        this.isSale = isSale;
    }

    public List<String> getBrandIdList() {
        return brandIdList;
    }

    public void setBrandIdList(List<String> brandIdList) {
        this.brandIdList = brandIdList;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }
}
